package com.xinruke.hostels.dailymanage.interfaces.dto.roomlock;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("房间锁房记录查询结果DTO")
@Data
public class RoomLockRecordQueryResultDTO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "酒店id")
    private Integer jiudianId;

    @ApiModelProperty(value = "房间id")
    private Integer fangjianId;

    @ApiModelProperty(value = "房间编号")
    private String fangjianhao;

    @ApiModelProperty(value = "开始时间yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date kaishishijian;

    @ApiModelProperty(value = "结束时间yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date jieshushijian;

    @ApiModelProperty(value = "状态:1锁房中；2解锁")
    private Byte zhuangtai;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty("创建人id")
    private Integer chuangjianrenId;
}
